
#ifndef _QUEUE_CHAR_H_
#define _QUEUE_CHAR_H_


typedef struct  {
    unsigned char *buffer;
    int pwr;
    int prd;
    int size;
} queue_char;


unsigned char * init_queue (queue_char * q, int size);
unsigned char pop(queue_char *q, bool eliminar);
void push(queue_char * q, unsigned char dato);
bool empty(queue_char * q);
void close_queue(queue_char * q);


#endif
